{include file="header.tpl"}

	<h1>Reset Password</h1>

   <div id="content">
   
      {include file="flashes.tpl"}

   	<form id="frm_reset" action="" method="post">
   
   		<fieldset class="panel">
   			{if $prompt == 'user'}
   			<div>
   				<label for="user_name">Username:</label>
        			<input id="user_name" name="user_name" type="text" value="{$user.user_name}" />
        			{if $user.errors.user_name}<p class="error">{$user.errors.user_name}</p>{/if}
   	 		</div>
   			{elseif $prompt == 'password'}
   			<div>
   				<label for="new_password">New Password:</label>
        			<input id="new_password" name="new_password" type="password" value="" />
        			{if $user.errors.password}<p class="error">{$user.errors.password}</p>{/if}
   	 		</div>
   			
   			<div>
   				<label for="confirm_pw">Confirm Password:</label>
        			<input id="confirm_pw" name="confirm_pw" type="password" value="" />
        			{if $user.errors.confirm_pw}<p class="error">{$user.errors.confirm_pw}</p>{/if}
   	 		</div>
   			{/if}
   		</fieldset>
   
   		<div class="button_bar">
   			<button type="submit" name="submit_frm_reset" value="1">Submit</button>or <a href="/">Cancel</a>
   		</div>
   		
   	</form>
   
   </div>
   
{include file="footer.tpl"}
